<template>
	<div
	  class="site-wrapper"
	  element-loading-text="拼命加载中">
	  <template v-if="!loading">
	    <div>
	    <FoodCom @closeDia="closeDia" ref="FoodComRef"></FoodCom>
	    </div>
	  </template>
	</div>
</template>

<script>
	import FoodCom from './FoodComponent.vue'
	export default{
		components:{
			FoodCom
		},
		data(){
			return{

			}
		},
		methods:{
      closeDia(){
        this.$emit("closeDialog")
      },

      init(row){
        this.$nextTick(() => {
          this.$refs.FoodComRef.init(row)
        })
      },

		}
	}
</script>

<style>
</style>
